package ru.niir.goodfil.audit.domain;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class ClientC1NumChangeEvent extends Event {
    @Column(length = 10)
    private String clientId;

    @Column(length = 200)
    private String clientName;

    @Column(length = 20)
    private String oldC1Num;

    @Column(length = 20)
    private String newC1Num;

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getOldC1Num() {
        return oldC1Num;
    }

    public void setOldC1Num(String oldC1Num) {
        this.oldC1Num = oldC1Num;
    }

    public String getNewC1Num() {
        return newC1Num;
    }

    public void setNewC1Num(String newC1Num) {
        this.newC1Num = newC1Num;
    }

    @Override
    public String toString() {
        return "ClientC1NumChangeEvent{" +
                "clientId='" + clientId + '\'' +
                ", clientName='" + clientName + '\'' +
                ", oldC1Num='" + oldC1Num + '\'' +
                ", newC1Num='" + newC1Num + '\'' +
                '}';
    }
}
